package edu.hhu.wifispark.task;

import java.util.List;

import edu.hhu.wifispark.entry.Customer;
import edu.hhu.wifispark.task.sparktask.CustomerLiveness;

public class ObtainCustomerLiveness {
	public void start(){
		List<Customer> cList = Customer.dao.FindToday();
		CustomerLiveness cLiveness = new CustomerLiveness();
		cLiveness.setCList(cList);
		cLiveness.start();
		try {
			cLiveness.join();
		} catch (InterruptedException e) {
		}
	}
}
